#include <iostream>
#include "./basic-sort.h"
#include "./advance-sort.h"

void print(ElemType &e)
{
	cout << (int)e << " ";
}

int main()
{
	SqList list;
	initList(list);
	listInsert(list, 0, 50);
	listInsert(list, 1, 10);
	listInsert(list, 2, 90);
	listInsert(list, 3, 30);
	listInsert(list, 4, 70);
	listInsert(list, 5, 40);
	listInsert(list, 6, 80);
	listInsert(list, 7, 60);
	listInsert(list, 8, 20);
	listInsert(list, 9, 100);
	quickSort(list);
	listTraverse(list, print);
}